package com.example.entity;

import java.io.Serializable;

/**
 * 用户表
*/
public class User extends Account implements Serializable {
	private static final long serialVersionUID = 1L;

	/**  */
	private Integer id;
	/** 账号 */
	private String username;
	/** 密码 */
	private String password;
	/** 姓名 */
	private String name;
	/** 头像 */
	private String avatar;
	/** 角色 */
	private String role;
	/** 性别 */
	private String sex;
	/** 电话 */
	private String phone;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}